revision:
The <pre> tag defines preformatted text. Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.
<pre> . . . </pre>
Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks
<pre> Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks </pre>
This is a standard pre. It will use as much space as it needs.
This is a pre with a fixed width. It will use as much space as specified.
<h4>Standard pre</h4> <pre>This is a standard pre. It will use as much space as it needs.</pre> <h4>Fixed width pre</h4> <div style="width:200px;overflow:auto;margin-left:1vw;"> <pre>This is a pre with a fixed width. It will use as much space as specified.</pre> </div>